//
//  FrameY.h
//  自定义collectionView
//
//  Created by apple on 15-1-12.
//  Copyright (c) 2015年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "ZTXFlowLayout.h"

@class FrameY;

@protocol FrameYDelegate <NSObject>

-(void)LastFrameY:(float)orignY;

@end

@interface FrameY : UIView<UICollectionViewDataSource,UICollectionViewDelegate,ZTXFlowLayoutDelegate>

{
    UICollectionView * ztxCollectionView;
    NSArray * ztxArray;
    float frameLayoutY;
}

@property(nonatomic ,assign)id<FrameYDelegate>delegate;

- (instancetype)initWithArray:(NSArray *)array;
@end
